<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/cms/site/exporttemplate" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>
<body>
<div class="page">
    <div class="page-hd">
      <h1>导出模版</h1>
    </div>
    <div class="form">
      <form action="{:URL('cms/Site/doExportTemplate')}" method="POST" enctype="multipart/form-data" onsubmit="return checkInput()">
        <input type="hidden" name="siteid" id="siteid" value="{$Think.get.sid}" />
        <dl class="kv">
            <dt>
                <label>站点名称：</label>
            </dt>
            <dd>
                <input class="input-text" type="text" name="name" id="name" value="" required="required" />
                <span class="required">*</span>
            </dd>
        </dl>
        <dl class="kv">
            <dt>
                <label>站点目录：</label>
            </dt>
            <dd>
                <input class="input-text" type="text" name="dirname" id="dirname" value="" required="required" />
                <span class="required">*</span>
            </dd>
        </dl>
        <dl class="kv">
            <dt>
                <label>站点域名：</label>
            </dt>
            <dd>
                <input class="input-text" type="text" name="domain" value="" />
            </dd>
        </dl>
        <dl class="kv">
            <dt>
                <label>描述：</label>
            </dt>
            <dd>
                <textarea rows="5" cols="100" name="description"></textarea>
            </dd>
        </dl>
        <dl class="kv">
            <dt>
                <label>模版图片：</label>
            </dt>
            <dd>
                <input class="input-text" type="text" name="templatePic" id="templatePic" readonly />
                <input type="button" id="image" value="选择图片" />
            </dd>
        </dl>
        <div class="actions">
            <input class="btn btn-y" type="submit" value="提交" />
            <input class="btn btn-n" type="button" value="取消" onclick="javascript:window.location.href='{:URL('cms/Site/index')}'" />
        </div>
      </form>
    </div>

</div>
</body>
</html>
